<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>页面test</h1>
    <p th:text="${name}">name</p>
    <hr />
    <div th:each="user,userStat:${userList}" th:class="${userStat.even}?'even':'odd'">
        序号：<input type="text" th:value="${userStat.count}"/>
        账号：<input type="text" th:value="${user.username}"/>
        密码：<input type="password" th:value="${user.password}"/>
        时间：<input type="text" th:value="${user.createTime}"/>
        时间：<input type="text" th:value="${#dates.format(user.createTime,'yyyy-MM-dd HH:mm:ss')}"/>
    </div>
</body>
</html>